package com.hanggold.springboot.lesson3;

import com.hanggold.springboot.lesson3.annotation.AnnotaionComposite;
import org.springframework.core.annotation.AnnotatedElementUtils;

/**
 * @author smc
 * @date 2019-07-01 08:42
 * @since
 **/
public class ElementAnoTest {


    public static void main(String[] args) {

        boolean b = AnnotatedElementUtils.hasAnnotation(AnnotaionCompositeApplicaiton.class, AnnotaionComposite.class);

        System.out.println("b: " + b);

    }
}
